package behaviorModel.visitor.demo.visit;

import behaviorModel.visitor.demo.element.Book;
import behaviorModel.visitor.demo.element.Fruit;

/**
 * 访问者接口
 */
public interface ShoppingCartVisitor {
	int visit(Book book);
	int visit(Fruit fruit);
}